﻿using System.ComponentModel;

namespace Utility.Enum
{
    /// <summary>
    /// 权限字段枚举
    /// </summary>
    public enum PermissionsFieldEnum
    {
        /// <summary>
        /// 登录用户
        /// </summary>
        [Description("登录用户")]
        LoginUser = 1,

        /// <summary>
        /// 登录用户角色
        /// </summary>
        [Description("登录用户角色")]
        LoginRole = 2,

        /// <summary>
        /// 登录用户部门
        /// </summary>
        [Description("登录用户部门")]
        LoginDepartment = 3,

        /// <summary>
        /// 只看创建用户
        /// </summary>
        [Description("只看【创建用户】数据")]
        CreateUser = 4,

        /// <summary>
        /// 只看创建时间
        /// </summary>
        [Description("只看【创建时间】数据")]
        CreateTime = 5,

        /// <summary>
        /// 只看创建角色
        /// </summary>
        [Description("只看【创建角色】数据")]
        CreateRole = 6,

        /// <summary>
        /// 只看创建机构
        /// </summary>
        [Description("只看【创建机构】数据")]
        CreateDepartment = 7,
    }
}
